package com.ita.vo;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ita.pojo.Food;
import com.ita.pojo.Order;

public class OrderItemVo {


	private String id;
	
	@JsonProperty("food")
	private String food;
	
	private Integer count;
	
	private double price;
	
	private String image;

	public String getFood() {
		return food;
	}

	public void setFood(String food) {
		this.food = food;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public OrderItemVo(String food, int count,double price,String image,String id) {
		super();
		this.food = food;
		this.count = count;
		this.price = price;
		this.image = image;
		this.id = id;
	}

	public OrderItemVo() {
		super();
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	

}
